---
title: "SQL Types"
metaTitle: "Types of SQL statements | MSSQL Tutorial"
metaDescription: "The page summarizes the types of T-SQL commands"
---

SQL statements are generally categorized into different types based on the tasks each statement can perform.

| SQL Type                         | Commands                                                             | Description                                                          |
|----------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------|
| Data Definition Language (DDL)   | <ul><li>CREATE</li><li>ALTER</li><li>DROP</li><li>TRUNCATE</li></ul> | Statements that define the data and data structure (schema objects). |
| Data Manipulation Language (DML) | <ul><li>INSERT</li><li>UPDATE</li><li>DELETE</li></ul>               | Statements that manipulate the data.                                 |
| Data Control Language (DCL)      | <ul><li>GRANT</li><li>REVOKE</li></ul>                               | Statements to limit the access on the data.                          |
| Transact Control Language (TCL)  | <ul><li>COMMIT</li><li>ROLLBACK</li><li>SAVEPOINT</li></ul>          | Statements to control the transactions in a session.                 |
| Data Query Language (DQL)        | <ul><li>SELECT</li></ul>                                             | Statements used to view the data.                                    |
